//-----------------------------------------------------------------------------------
#ifndef TESTGAME_H
#define TESTGAME_H
//-----------------------------------------------------------------------------------
#include <sstream>
#include "zakengine/zak.h"
#include "AIStar.h"
#include "Player.h"
#include "FSMStates.h"
#include "StateMachine.h"
//-----------------------------------------------------------------------------------
#define START_ROW		0
#define START_COL		0
#define FINISH_ROW		20
#define FINISH_COL		25
#define MINE_GOLD_MAX	100
//-----------------------------------------------------------------------------------
using namespace zak;
//-----------------------------------------------------------------------------------
class TestGame: public Game 
{
public:

	TestGame();
	~TestGame();

	void OnFrame();
	bool OnShutdown();
	bool OnInit();
	void OnDraw();

	float m_fpkStartPosX;
	float m_fpkStartPosY;

	int	m_ikStartRow;
	int m_ikStartCol;

	float m_fpkMinePosX;
	float m_fpkMinePosY;

	int m_ikMineRow;
	int m_ikMineCol;

	float m_fpAcum; 
	float m_fpTime;

	static int m_iMineGold;
	static int m_iTownGold;
	static int m_iPos;

	static Map m_kTileMap;

	static StateMachine * m_kFSMPlayer;

	static Player m_kPlayer;
};
//-----------------------------------------------------------------------------------
#endif
//-----------------------------------------------------------------------------------